import { RootState } from "../utils/store.type";
import { Module } from "vuex";

const sdcardStatus: Module<any, RootState> = {
	namespaced: true,
	state: () => ({
		remainingSpace: -1,
	}),

	mutations: {
		updateSDCardRemainingSpace(state, payload) {
			// console.log(state,payload);
			state.remainingSpace = payload;
		},
	},

};

export 	default sdcardStatus;
